package com.ys.service.finance;

import com.ys.entity.finance.TcwWanliPrepaymentRecorded;
import com.ys.vo.R;

import java.util.List;
import java.util.Map;

/**
 * 万里汇预付款入账单
 */
public interface TcwWanliPrepaymentRecordedService {

	//新增
	R add(Map<String, Object> params, Long menuId) throws Exception ;

	//修改
	R update(Map<String, Object> params, Long menuId) throws Exception ;

	//删除
	R del(Long id)throws Exception;

	//删除列表
	R toDelByItem(Long id)throws Exception;

	//流转通过
	R flowPass(Long id, String loginUserId) throws Exception;

	//流转结束
	void flowFinish(String bid) throws Exception;

	//删除列表
	R toDelItemByBid(String bid)throws Exception;

	//获取汇率
	TcwWanliPrepaymentRecorded getExchangeRate(TcwWanliPrepaymentRecorded entity) throws Exception;

	//万里汇预付款入账单主表信息计算
	TcwWanliPrepaymentRecorded countMsg(TcwWanliPrepaymentRecorded entity) throws Exception;


	//获取列表数据
	Map<String,Object> getExtraParam( String bid) throws Exception;

	//获取子列表数据
	List<Map<String, Object>> getItemList(String bid) throws Exception;
}